package com.gridmobi.xrtb.domain.dsp;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.Map;

public class DspCampaigns implements Serializable {
    private Long id;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updatetime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createtime;


    /**
     * 统计信息DTO
     */
    private DspStatisticsDay statistics;

    private DspCampaignsAccumulate acc;

    private Integer state;

    private Integer deleteflag;

    private String inventorytype;

    private String cname;

    private Integer labelid;

    private Integer aid;

    private String landingurl;

    private Integer urlsecured;

    private String exchanges;

    private String advdomain;

    private String iabcats;

    private String buyingstrategy;

    private Float buyingprice;

    private String environment;

    private Float budgetdaily;

    private Float budgetall;

    private Integer pacingtype;

    private Integer dailyfrequenceuser;

    private String frequencytype;
    private String targetingcountries;

    private String targetingos;
    private String iososv;
    private String androidosv;
    /**
     * 用来存放 原始offer表的id
     */
    private String osversionmin;

    private String osversionmax;

    private String devicetype;

    private String connectiontype;

    private String revenuetype;

    private Float revenuevalue;

    private Integer brokenfee;

    private Long brokerfeerate;

    private String aname;

    private String labelname;

    private Integer creativecount;

    private Map<String, String> cfs;

    private Float currentdailybudget;

    private Float currentallbudget;

    private String advappbundle;

    private String appstoreurl;

    private String dealidjson;

    private String imprurl;

    public String getImprurl() {
        return imprurl;
    }

    public void setImprurl(String imprurl) {
        this.imprurl = imprurl;
    }

    public String getAppstoreurl() {
        return appstoreurl;
    }

    public void setAppstoreurl(String appstoreurl) {
        this.appstoreurl = appstoreurl;
    }

    public DspCampaignsAccumulate getAcc() {
        return acc;
    }

    public void setAcc(DspCampaignsAccumulate acc) {
        this.acc = acc;
    }

    public Map<String, String> getCfs() {
        return cfs;
    }

    public void setCfs(Map<String, String> cfs) {
        this.cfs = cfs;
    }

    public Integer getCreativecount() {
        return creativecount;
    }

    public void setCreativecount(Integer creativecount) {
        this.creativecount = creativecount;
    }

    public String getLabelname() {
        return labelname;
    }

    public void setLabelname(String labelname) {
        this.labelname = labelname;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getDeleteflag() {
        return deleteflag;
    }

    public void setDeleteflag(Integer deleteflag) {
        this.deleteflag = deleteflag;
    }

    public String getInventorytype() {
        return inventorytype;
    }

    public void setInventorytype(String inventorytype) {
        this.inventorytype = inventorytype == null ? null : inventorytype.trim();
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname == null ? null : cname.trim();
    }

    public Integer getLabelid() {
        return labelid;
    }

    public void setLabelid(Integer labelid) {
        this.labelid = labelid;
    }

    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public String getLandingurl() {
        return landingurl;
    }

    public void setLandingurl(String landingurl) {
        this.landingurl = landingurl == null ? null : landingurl.trim();
    }

    public Integer getUrlsecured() {
        return urlsecured;
    }

    public void setUrlsecured(Integer urlsecured) {
        this.urlsecured = urlsecured;
    }

    public String getExchanges() {
        return exchanges;
    }

    public void setExchanges(String exchanges) {
        this.exchanges = exchanges == null ? null : exchanges.trim();
    }

    public String getAdvdomain() {
        return advdomain;
    }

    public void setAdvdomain(String advdomain) {
        this.advdomain = advdomain == null ? null : advdomain.trim();
    }

    public String getIabcats() {
        return iabcats;
    }

    public void setIabcats(String iabcats) {
        this.iabcats = iabcats == null ? null : iabcats.trim();
    }

    public String getBuyingstrategy() {
        return buyingstrategy;
    }

    public void setBuyingstrategy(String buyingstrategy) {
        this.buyingstrategy = buyingstrategy == null ? null : buyingstrategy.trim();
    }

    public Float getBuyingprice() {
        return buyingprice;
    }

    public void setBuyingprice(Float buyingprice) {
        this.buyingprice = buyingprice;
    }

    public String getEnvironment() {
        return environment;
    }

    public void setEnvironment(String environment) {
        this.environment = environment == null ? null : environment.trim();
    }

    public Float getBudgetdaily() {
        return budgetdaily;
    }

    public void setBudgetdaily(Float budgetdaily) {
        this.budgetdaily = budgetdaily;
    }

    public Float getBudgetall() {
        return budgetall;
    }

    public void setBudgetall(Float budgetall) {
        this.budgetall = budgetall;
    }

    public Integer getPacingtype() {
        return pacingtype;
    }

    public void setPacingtype(Integer pacingtype) {
        this.pacingtype = pacingtype;
    }

    public Integer getDailyfrequenceuser() {
        return dailyfrequenceuser;
    }

    public void setDailyfrequenceuser(Integer dailyfrequenceuser) {
        this.dailyfrequenceuser = dailyfrequenceuser;
    }

    public String getFrequencytype() {
        return frequencytype;
    }

    public void setFrequencytype(String frequencytype) {
        this.frequencytype = frequencytype == null ? null : frequencytype.trim();
    }

    public String getTargetingos() {
        return targetingos;
    }

    public void setTargetingos(String targetingos) {
        this.targetingos = targetingos == null ? null : targetingos.trim();
    }

    public String getOsversionmin() {
        return osversionmin;
    }

    public void setOsversionmin(String osversionmin) {
        this.osversionmin = osversionmin;
    }

    public String getOsversionmax() {
        return osversionmax;
    }

    public void setOsversionmax(String osversionmax) {
        this.osversionmax = osversionmax;
    }

    public String getDevicetype() {
        return devicetype;
    }

    public void setDevicetype(String devicetype) {
        this.devicetype = devicetype == null ? null : devicetype.trim();
    }

    public String getConnectiontype() {
        return connectiontype;
    }

    public void setConnectiontype(String connectiontype) {
        this.connectiontype = connectiontype == null ? null : connectiontype.trim();
    }

    public DspStatisticsDay getStatistics() {
        return statistics;
    }

    public void setStatistics(DspStatisticsDay statistics) {
        this.statistics = statistics;
    }

    public String getRevenuetype() {
        return revenuetype;
    }

    public void setRevenuetype(String revenuetype) {
        this.revenuetype = revenuetype == null ? null : revenuetype.trim();
    }

    public Float getRevenuevalue() {
        return revenuevalue;
    }

    public void setRevenuevalue(Float revenuevalue) {
        this.revenuevalue = revenuevalue;
    }

    public Integer getBrokenfee() {
        return brokenfee;
    }

    public void setBrokenfee(Integer brokenfee) {
        this.brokenfee = brokenfee;
    }

    public Long getBrokerfeerate() {
        return brokerfeerate;
    }

    public void setBrokerfeerate(Long brokerfeerate) {
        this.brokerfeerate = brokerfeerate;
    }

    public String getAname() {
        return aname;
    }

    public void setAname(String aname) {
        this.aname = aname == null ? null : aname.trim();
    }


    public Float getCurrentdailybudget() {
        return currentdailybudget;
    }

    public void setCurrentdailybudget(Float currentdailybudget) {
        this.currentdailybudget = currentdailybudget;
    }

    public Float getCurrentallbudget() {
        return currentallbudget;
    }

    public String getAdvappbundle() {
        return advappbundle;
    }

    public void setAdvappbundle(String advappbundle) {
        this.advappbundle = advappbundle;
    }

    public void setCurrentallbudget(Float currentallbudget) {
        this.currentallbudget = currentallbudget;
    }

    public String getIososv() {
        return iososv;
    }

    public void setIososv(String iososv) {
        this.iososv = iososv;
    }

    public String getAndroidosv() {
        return androidosv;
    }

    public void setAndroidosv(String androidosv) {
        this.androidosv = androidosv;
    }

    public String getTargetingcountries() {
        return targetingcountries;
    }

    public void setTargetingcountries(String targetingcountries) {
        this.targetingcountries = targetingcountries;
    }

    public String getDealidjson() {
        return dealidjson;
    }

    public void setDealidjson(String dealidjson) {
        this.dealidjson = dealidjson;
    }
}